
package com.capgemini.fs.app.ekms.service;

import java.util.List;

import com.capgemini.fs.app.ekms.model.Group;

public interface GroupService extends Service {
	List<Group> findAllGroup();

	void createGroup(Group g) throws Exception;

	void createGroup(List<Group> groups);

	void updateGroup(Group p);

	void updateGroup(List<Group> groups);

	boolean isExist(String name);

	Group findGoupByGroupId(Integer id);

	Group findGroupByGroupName(String name);

	void inactiveGroup(Integer groupId, String lastModifier);

	void inactiveGroupUser(Integer groupId, String lastModifier);

	void activeGroup(Integer groupId, String lastModifier);

	void activeGroupUser(Integer groupId, String lastModifier);

	List<Group> queryGroup(String groupName, Integer status);
}
